package com.gupao.p7store.common.enums;

/**
 * 推送类型
 *
 * @author dengbicheng
 */
public enum NoticePushTypeEnum {
    /**
     * docker
     */
    PUBLISH(0, "版本发布"),
    /**
     * maven
     */
    SKYWALKING(1, "skywalking"),
    /**
     * npm
     */
    PROMETHEUS(2, "prometheus");

    private final Integer code;
    private final String info;

    NoticePushTypeEnum(Integer code, String info) {
        this.code = code;
        this.info = info;
    }

    public Integer getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
